import request from "@/utils/request.ts";

/**
 * 天气相关接口
 * @author Finn Yu
 * @since 2023/7/9 00:27
 */
const BASE_PATH = '/db-gateway/db-weather';

//获取天气状态
export function getWeatherInfo(params: any) {
    return request(`${BASE_PATH}/weather/weatherStatus`, {
        params,
    });
}